# -*- coding: utf-8 -*-
"""生成词云图片
Created on Tue Jul 11 17:55:20 2017

@author: world
"""
import jieba
import matplotlib.pyplot as plt
from wordcloud import WordCloud

txt = open('boss.csv',encoding='utf-8').read()

wordlist_after_jieba = jieba.cut(txt)
wl_space_split = " ".join(wordlist_after_jieba)
my_wordcloud = WordCloud().generate(wl_space_split)

plt.imshow(my_wordcloud)
plt.axis("off")
plt.show()